using System;
using Volo.Abp.Domain.Entities.Auditing;

namespace Acme.BookStore.StockManagement
{
    /// <summary>
    /// 出入库流水表实体类
    /// </summary>
    public class ChuRuKuLiuShui : AuditedAggregateRoot<int>
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int SerialNumber { get; set; }

        /// <summary>
        /// 出入库单号
        /// </summary>
        public string IoOrderCode { get; set; } = string.Empty;

        /// <summary>
        /// 出入库日期
        /// </summary>
        public DateTime IoDate { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public string BusinessType { get; set; } = string.Empty;

        /// <summary>
        /// 出入库类型
        /// </summary>
        public string IoType { get; set; } = string.Empty;

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; } = string.Empty;

        /// <summary>
        /// 入库数量
        /// </summary>
        public int InQuantity { get; set; }

        /// <summary>
        /// 出库数量
        /// </summary>
        public int OutQuantity { get; set; }

        /// <summary>
        /// 入库金额
        /// </summary>
        public decimal InAmount { get; set; }

        /// <summary>
        /// 出库金额
        /// </summary>
        public decimal OutAmount { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        public string Operator { get; set; } = string.Empty;

        /// <summary>
        /// 制单人
        /// </summary>
        public string Creator { get; set; } = string.Empty;

        /// <summary>
        /// 所在部门
        /// </summary>
        public string Department { get; set; } = string.Empty;

        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
} 